gcc -std=c++1z -fPIC -shared src/rtsp_client_api.cpp src/mp_common.cpp ./3rd_party/linux-x64/libBasicUsageEnvironment.a ./3rd_party/linux-x64/libgroupsock.a ./3rd_party/linux-x64/libliveMedia.a ./3rd_party/linux-x64/libUsageEnvironment.a -o librtspclient.so -std=c++1z -I./include/ -I./3rd_party/linux-x64/inc/BasicUsageEnvironment/ -I./3rd_party/linux-x64/inc/UsageEnvironment/ -I./3rd_party/linux-x64/inc/groupsock/ -I./3rd_party/linux-x64/inc/liveMedia/ -I./include/ -lpthread -lm -ldl

gcc -std=c++1z example/cpp_demo.cpp librtspclient.so ./3rd_party/linux-x64/libBasicUsageEnvironment.a ./3rd_party/linux-x64/libgroupsock.a ./3rd_party/linux-x64/libliveMedia.a ./3rd_party/linux-x64/libUsageEnvironment.a -o cpp_demo.bin -I./include/ -lstdc++ -lpthread -lm -ldl

mv librtspclient.so build/linux_x64
mv *.bin build/linux_x64
